package eteam.aps.systeminterface.model.reqparam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "角色用户请求参数")
public class RoleUserParam {
    @ApiModelProperty("用户ID")
    @NotBlank(message = "用户ID为空")
    private String userid;
    @ApiModelProperty("角色ID列表")
    @NotNull(message = "角色ID列表不合法")
    private List<String> roleids;
}
